package com.ccys.db.mapper;

import com.ccys.db.entity.TblBookingUparcel;
import com.ccys.db.vo.consultation.BookingUparcelListVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * Created by Mybatis Generator on 2024/01/05
 */
public interface TblBookingUparcelMapper extends Mapper<TblBookingUparcel>, MySqlMapper<TblBookingUparcel> {
    TblBookingUparcel findTheLatestOneByBookingId(@Param("bookingId") String bookingId);

    List<BookingUparcelListVo> findUparcelListByBookingId(@Param("bookingId") String bookingId);
}